import "./css/style.css";
import img1 from './img/27.jpg';
let list = [
    { img:img1, title: "bbx", jg: "123" },
    { img: img1, title: "bbx", jg: "123" },
    { img: img1, title: "bbx", jg: "123" },
    { img: img1, title: "bbx", jg: "123" },
    { img: img1, title: "bbx", jg: "123" }
]
const ul = document.querySelector("ul");
ul.innerHTML = list.map(item => {
    return `<li>
                <img src=${item.img} alt="">
                <p>${item.title}</p>
                <p>${item.jg}</p>
            </li>`
}).join("");
